package com.easy.mapper;

import com.easy.bean.Employee_attendance;
import com.easy.util.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface EmployeeAttendanceDao {
    int add(@Param("param") Employee_attendance attendance);
    int del(@Param("id") Integer id);
    int edit(@Param("param") Employee_attendance attendance);
    Employee_attendance one(@Param("id") Integer id);
    List<Employee_attendance> all(
            @Param("employee_id") Integer employee_id
    );
    int pageCount(@Param("param") Employee_attendance attendance);
    List<Employee_attendance> page(@Param("page") Page page, @Param("param") Employee_attendance attendance);
}
